a {
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
}

a:hover {
  color: #1e88e5;
}

.container {
  width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: #222;
  position: relative;
}

.section-title:after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #1e88e5;
  margin: 15px auto 0;
}

.btn {
  display: inline-block;
  padding: 10px 25px;
  background: #1e88e5;
  color: #fff;
  border-radius: 4px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #1565c0;
  color: #fff;
  transform: translateY(-2px);
}

/* 导航栏 */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #1e88e5;
}

.logo span {
  color: #333;
  font-size: 15px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

nav ul li a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1e88e5;
  transition: width 0.3s;
}

nav ul li a:hover:after {
  width: 100%;
}

/* 轮播图 */
.banner {
  height: 600px;
  display: flex;
  align-items: center;
  margin-top: 80px;
  position: relative;
}

.banner:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #33393f;
}

.banner-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 600px;
}

.banner-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.banner-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* 产品展示 */
.products {
  background: #f9f9f9;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-img {
  height: 200px;
  background: #eee;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s;
}

.product-card:hover .product-img img {
  transform: scale(1.1);
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.product-info p {
  color: #666;
  margin-bottom: 15px;
}

/* 关于我们 */
.about {
  display: flex;
  align-items: center;
}

.about-img {
  flex: 1;
  padding-right: 50px;
}

.about-img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
  flex: 1;
}

.about-content h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 15px;
  color: #555;
}

/* 页脚 */
footer {
  background: #222;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #1e88e5;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #bbb;
}

.footer-column ul li a:hover {
  color: #1e88e5;
  padding-left: 5px;
}

.contact-info p {
  margin-bottom: 10px;
  color: #bbb;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #999;
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .container {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about {
    flex-direction: column;
  }

  .about-img {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    height: auto;
    padding: 15px 0;
  }

  .logo {
    margin-bottom: 15px;
  }

  nav ul li {
    margin-left: 15px;
  }

  .banner {
    height: 500px;
  }

  .banner-content h1 {
    font-size: 36px;
  }

  .section {
    padding: 40px 0;
  }
}

@media (max-width: 576px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 0 10px 5px;
  }

  .banner-content h1 {
    font-size: 28px;
  }
}
